package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Cart;
import cn.wolfcode.trip.base.domain.Goods;
import cn.wolfcode.trip.base.domain.PointMsg;
import cn.wolfcode.trip.base.query.CartQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ICartService {


    void delete(Long id);

    List<Cart> listUndeterminedCart(Long userId);

    void saveOrUpdate(CartQueryObject qo);

    PageInfo<Cart> listRecord(QueryObject qo);

    void updateState(Cart cart);

    void savePointMsg(PointMsg pointMsg);

    void updateCount(Cart cart);

    Cart getCart(Long id);
}
